<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改角色')" />
	<th:block th:include="include :: ztree-css" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="form-role-edit">
			<div class="form-group">
				<label class="col-sm-3 control-label">采购单编号：</label>
				<div class="col-sm-8">
					<input name="purId" id="purId" class="form-control" type="text" th:value="${poPurchase.purId}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">采购时间：</label>
				<div class="col-sm-8">
					<div class="input-group date">
						<input name="purTime" class="form-control" placeholder="yyyy-MM-dd" type="text" th:value="${poPurchase.purTime}">
						<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">总金额：</label>
				<div class="col-sm-8">
					<input name="total" class="form-control" type="text" th:value="${poPurchase.total}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">创建人：</label>
				<div class="col-sm-8">
					<input name="purchaseUsername" class="form-control" type="text" th:value="${poPurchase.purchaseUsername}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">审核状态：</label>
				<div class="col-sm-8">
					<select name="status" class="form-control">
						<option th:value="${poPurchase.status}" th:selected="${poPurchase.status} eq 1">未审核</option>
						<option th:value="${poPurchase.status}" th:selected="${poPurchase.status} eq 2">审核中</option>
						<option th:value="${poPurchase.status}" th:selected="${poPurchase.status} eq 3">审核通过</option>
						<option th:value="${poPurchase.status}" th:selected="${poPurchase.status} eq 4">审核未通过</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">审核意见：</label>
				<div class="col-sm-8">
					<input name="opinion" class="form-control" type="text" th:value="${poPurchase.opinion}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">审核人：</label>
				<div class="col-sm-8">
					<input name="createUsername" class="form-control" type="text" th:value="${poPurchase.createUsername}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">审核时间：</label>
				<div class="col-sm-8">
					<input name="checkTime" class="form-control" type="text" th:value="${poPurchase.checkTime}">
				</div>
			</div>

		</form>
	</div>
	<th:block th:include="include :: footer" />
	<th:block th:include="include :: ztree-js" />
</body>
</html>
